home *** CD-ROM | disk | FTP | other *** search
/ Amiga Collections: Camelot / Camelot 043 (1989-06)(Swedish User Group of Amiga)(SE)(PD)[WB].zip / Camelot 043 (1989-06)(Swedish User Group of Amiga)(SE)(PD)[WB].adf / printfx / an < prev    next >
Text File  |  1989-06-08  |  2KB  |  142 lines

  1. .*
  2. .*    Macro package for NRO in KosmoSoft version
  3. .*
  4. .nr h 5      @" header indent
  5. .nr i 10     @" normal text indent
  6. .nr s @ni-@nh     @" section heading indent (to the LEFT)
  7. .*
  8. .de TH
  9. .in @nh;.rm 80-@nh;.he |$0($1)|$2|$0($1)|
  10. .fo |$3|-#-|$4|
  11. .in @ni;.rm 80-@ni
  12. .ta +0 +5
  13. .en
  14. .*  Paragraph
  15. .de PP
  16. .sp 1;.ne 2;.ti +5
  17. .en
  18. .*  Bulleted Paragraph. Needs .RE after last para.
  19. .*  Must be last on line. Relies on first tab stop.
  20. .de BP
  21. .br;.in @ni+5;.ti -3;o@t@@
  22. .en
  23. .*  Section Heading
  24. .de SH
  25. .sp 1;.ne 3;.ti -@@ns;.bo "$0 $1 $2 $3 $4 $6 $6 $7 $8 $9
  26. .br
  27. .en
  28. .*  SubSection
  29. .de SS
  30. .br;.ne 2;.ti -@@ns+1/2;$0 $1 $2 $3 $4 $5 $6 $7 $8 $9
  31. .br
  32. .en
  33. .*  Relative indent Start
  34. .de RS
  35. .in +0$0
  36. .en
  37. .*  Relative indent End
  38. .de RE
  39. .in @ni
  40. .en
  41. .*  Italics
  42. .de I
  43. .it 1
  44. $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
  45. .en
  46. .*  Bold
  47. .de B
  48. .bo 1
  49. $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
  50. .en
  51. .*  Underline
  52. .de U
  53. .ul 1
  54. $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
  55. .en
  56. .*  UC
  57. .de UC
  58. .*  Empty
  59. .en
  60. .*  Italics and Roman
  61. .de IR
  62. .if !''$0' .it "$0
  63. .if !''$1' $1
  64. .if !''$2' .it "$2
  65. .if !''$3' $3
  66. .if !''$4' .it "$4
  67. .if !''$5' $5
  68. .if !''$6' .it "$6
  69. .if !''$7' $7
  70. .if !''$8' .it "$8
  71. .if !''$9' $9
  72. .en
  73. .*  Roman and Italic
  74. .de RI
  75. .if !''$0' $0
  76. .if !''$1' .it "$1
  77. .if !''$2' $2
  78. .if !''$3' .it "$3
  79. .if !''$4' $4
  80. .if !''$5' .it "$5
  81. .if !''$6' $6
  82. .if !''$7' .it "$7
  83. .if !''$8' $8
  84. .if !''$9' .it "$9
  85. .en
  86. .*  Bold and Roman
  87. .de BR
  88. .if !''$0' .bo "$0
  89. .if !''$1' $1
  90. .if !''$2' .bo "$2
  91. .if !''$3' $3
  92. .if !''$4' .bo "$4
  93. .if !''$5' $5
  94. .if !''$6' .bo "$6
  95. .if !''$7' $7
  96. .if !''$8' .bo "$8
  97. .if !''$9' $9
  98. .en
  99. .*  Bold and Italic
  100. .de BI
  101. .if !''$0' .bo "$0
  102. .if !''$1' .it "$1
  103. .if !''$2' .bo "$2
  104. .if !''$3' .it "$3
  105. .if !''$4' .bo "$4
  106. .if !''$5' .it "$5
  107. .if !''$6' .bo "$6
  108. .if !''$7' .it "$7
  109. .if !''$8' .bo "$8
  110. .if !''$9' .it "$9
  111. .en
  112. .*  Italic and Bold
  113. .de IB
  114. .if !''$0' .it "$0
  115. .if !''$1' .bo "$1
  116. .if !''$2' .it "$2
  117. .if !''$3' .bo "$3
  118. .if !''$4' .it "$4
  119. .if !''$5' .bo "$5
  120. .if !''$6' .it "$6
  121. .if !''$7' .bo "$7
  122. .if !''$8' .it "$8
  123. .if !''$9' .bo "$9
  124. .en
  125. .*  Italic and Roman
  126. .de IR
  127. .if !''$0' .it "$0
  128. .if !''$1' $1
  129. .if !''$2' .it "$2
  130. .if !''$3' $3
  131. .if !''$4' .it "$4
  132. .if !''$5' $5
  133. .if !''$6' .it "$6
  134. .if !''$7' $7
  135. .if !''$8' .it "$8
  136. .if !''$9' $9
  137. .en
  138. .*  SMall, do nothing
  139. .de SM
  140. $0 $1 $2 $3 $4 $5 $6 $7 $8 $9
  141. .en
  142.